﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="UserProfiles.aspx.vb" Inherits="myproject.UserProfiles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<table>
        <tr>
            <td style="width=90%">
             <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="JoeId"
        DataSourceID="SqlDataSource1" CssClass="gv" AllowSorting="True">
        <Columns>
            <asp:BoundField DataField="JoeId" HeaderText="SL NO" SortExpression="JoeId" />
            <asp:BoundField DataField="GivenName" HeaderText="GivenName" SortExpression="GivenName" />
            <asp:BoundField DataField="FamilyName" HeaderText="FamilyName" SortExpression="FamilyName" />
             <asp:BoundField DataField="Gender" HeaderText="Gender" SortExpression="Gender" />
            <asp:BoundField DataField="DateOfBirth" HeaderText="DateOfBirth" SortExpression="DateOfBirth" />
           
            <asp:ImageField DataImageUrlField="Portrait" HeaderText="Portrait">
                <ControlStyle Height="150px" Width="150px" />
            </asp:ImageField>
        </Columns>
    </asp:GridView>
            </td>
            
        </tr>
    </table>
   
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand="SELECT * FROM [USerProfile]">
    </asp:SqlDataSource>
   

</asp:Content>
